from xmlrpc.client import ServerProxy
server = ServerProxy("http://localhost:8000")

for i in range(5):
    v = server.get()
    print(v)
    s1 =input('string >')
    v.append(s1)
    server.put(v)

server.destroy()

